package com.changhai.diabetes.model;

/**
 * 
 * @author Andy
 *
 */
public class AjaxResultMsg {
	private Long id;
	private String name;
	private String msg;
	private String status;// ACTION.SUCCESS and so on;

	public AjaxResultMsg() {
		super();
	}

	public AjaxResultMsg(String status) {
		super();
		this.status = status;
	}

	public AjaxResultMsg(String status, Long id) {
		super();
		this.status = status;
		this.id = id;
	}

	public AjaxResultMsg(String status, Long id, String name, String msg) {
		super();
		this.status = status;
		this.id = id;
		this.name = name;
		this.msg = msg;
	}

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @return the msg
	 */
	public String getMsg() {
		return msg;
	}

	/**
	 * @return the status
	 */
	public String getStatus() {
		return status;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @param msg
	 *            the msg to set
	 */
	public void setMsg(String msg) {
		this.msg = msg;
	}

	/**
	 * @param status
	 *            the status to set
	 */
	public void setStatus(String status) {
		this.status = status;
	}

}
